package com.cloud.cloudvideo.mapper;

import com.cloud.cloudvideo.entity.VideoPhoto;
import com.cloud.cloudvideo.entity.VideoPhotoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface VideoPhotoMapper {
    long countByExample(VideoPhotoExample example);

    int deleteByExample(VideoPhotoExample example);

    int deleteByPrimaryKey(Long id);

    int insert(VideoPhoto record);

    int insertSelective(VideoPhoto record);

    List<VideoPhoto> selectByExample(VideoPhotoExample example);

    VideoPhoto selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") VideoPhoto record, @Param("example") VideoPhotoExample example);

    int updateByExample(@Param("record") VideoPhoto record, @Param("example") VideoPhotoExample example);

    int updateByPrimaryKeySelective(VideoPhoto record);

    int updateByPrimaryKey(VideoPhoto record);
}